package com.example.demo.entity.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.Date;

/**
 * 用户信息展示类
 * 用于管理侧的各类用户的信息列表展示
 */
public class UserVO {
    private String userId;
    /**
     * 用户名
     */
    private String username;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 用户状态: 0=禁用, 1=正常, 2=待审核
     */
    private Integer status;
    /**
     * 更新时间
     */
    private Date updatedAt;
    /**
     * 用户类型
     */
    private String role;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
